home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 2.4 KB | 69 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _CMDDEFS_
- #define _CMDDEFS_
-
- #ifndef _ODTYPESM_
- #include "ODTypesM.idl"
- #endif
-
- // The C/C++ output for this file can be compiled by C/C++ and Rez, since
- // It contains #defines for the command numbers of the standard menu items
- // of the document shell
-
- // Command numbers below 20000 are reserved for the shell or container apps.
- // Command numbers above 20000 are reserved for parts.
-
- #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
- #pragma somemittypes on
- #endif
-
- const ODMenuID kODAppleMenuID = 255;
- const ODMenuID kODDocumentMenuID = 256;
- const ODMenuID kODEditMenuID = 257;
-
- const ODCommandID kODCommandShellFirst = 1000;
- const ODCommandID kODCommandShellLast = 20000;
-
- const ODCommandID kODCommandAppleMenu = 1000;
- const ODCommandID kODCommandAbout = 1001;
-
- const ODCommandID kODCommandDocumentMenu = 2000;
- const ODCommandID kODCommandNew = 2001;
- const ODCommandID kODCommandOpen = 2002;
- const ODCommandID kODCommandOpenDocument = 2003;
- const ODCommandID kODCommandInsert = 2004;
- const ODCommandID kODCommandClose = 2005;
- const ODCommandID kODCommandDeleteDocument = 2006;
- const ODCommandID kODCommandSave = 2007;
- const ODCommandID kODCommandSaveACopy = 2008;
- const ODCommandID kODCommandRevert = 2009;
- const ODCommandID kODCommandDraft = 2010;
- const ODCommandID kODCommandDocumentInfo = 2011;
- const ODCommandID kODCommandPageSetup = 2012;
- const ODCommandID kODCommandPrint = 2013;
-
- const ODCommandID kODCommandEditMenu = 3000;
- const ODCommandID kODCommandUndo = 3001;
- const ODCommandID kODCommandRedo = 3002;
- const ODCommandID kODCommandCut = 3003;
- const ODCommandID kODCommandCopy = 3004;
- const ODCommandID kODCommandPaste = 3005;
- const ODCommandID kODCommandPasteAs = 3006;
- const ODCommandID kODCommandClear = 3007;
- const ODCommandID kODCommandSelectAll = 3008;
- const ODCommandID kODCommandGetPartInfo = 3009;
- const ODCommandID kODCommandPreferences = 3010;
- const ODCommandID kODCommandViewAsWin = 3011;
-
- #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
- #pragma somemittypes off
- #endif
-
- module OpenDoc_Commands
- {
- const string OpenDoc_Commands_Version = "1.0.";
- };
-
- #endif //# _CMDDEFS_
-